#ifndef _USART_EXT_H
#define _USART_EXT_H
#include "platform.h"

extern void USART_Init(void);

#define USART1_TXIT_ENABLE      (USART1->CR1 |= (1<<7))
#define USART1_TXIT_DISABLE     (USART1->CR1 &=~ (1<<7))

#define USART1_RXIT_ENABLE      (USART1->CR1 |= (1<<5))
#define USART1_RXIT_DISABLE     (USART1->CR1 &=~ (1<<5))
#endif
